﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Reflection;

namespace SharedGenomics.Domain
{
    /// <summary>
    /// A homogenous collection of <see cref="AnalaysisResult"/> objects that correspond to a job output file (the 
    /// particular subclass of <see cref="AnalysisResult"/> depends on the job type).
    /// </summary>
    /// <typeparam name="T">The specific <see cref="AnalysisResult"/> subclass contained in the list</typeparam>
    public class AnalysisResultSet<T> : HashSet<T>, IAnalysisResultSet where T : AnalysisResult
    {
        public Type ResultType
        {
            get { return typeof(T); }
        }
    }
}
